package com.example.dianchiwater;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.webkit.WebView;

public class Ziranzaihai_Web extends AppCompatActivity {
    WebView webZh;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_ziranzaihai__web);
        webZh = findViewById(R.id.WebZh);
        webZh.loadUrl("https://www.qweather.com/severe-weather/kunming-101290101.html");
        webZh.getSettings().setSupportZoom(true);
        webZh.getSettings().setBuiltInZoomControls(true);
        webZh.getSettings().setJavaScriptEnabled(true);
        webZh.getSettings().setLoadWithOverviewMode(true);
        webZh.getSettings().setUseWideViewPort(true);
    }
}